Hybris UX Api icon

Hybris UX Api

(0 reviews)

POST billingAccount

POST billingAccout

This operation allows billing account creation in the BSS system. The current implementation is for PR and JM customers. Billing Account will be created in CSG for PR and CERILLION for JM.

URL

http://[localhost]:[port]/ecom-ux/v1/{businessId}/billingAccount

URL PARAMS

nametypedescriptionrequired
businessIdstring2 letter ISO 3166 country code (JM, PR) identifying the business unit.Y

Headers

namevaluedescriptionrequired (mandatory-Y, optional-N, Not applicable- N/A)
client-idstringThe client-id identifying the channel. Minimum characters: 5Y
client-secretstringPassword associated with the client-id. Minimum characters: 5Y
Correlation-IDstringIdentifier that correlates HTTP request between a client and server.
Any identification model (UUDI, checksum, etc.) can be used, as long as it is a unique value to differentiate a transaction.
N
channelIdstringChannel to business:
default value: "ECOM".
N
lobstringThe Line of Business Identifier
Ex: FIXED, PREPAID, POSTPAID
N

Query Params

namevaluedescriptionrequired (mandatory-Y, optional-N, Not applicable- N/A)
sourceEPCstringY(JM)
N(PR)

Data Model - Request

namevaluedescriptionrequired (mandatory-Y, optional-N, Not applicable- N/A)
accountTypestringA categorization of an account, such as individual, joint, and so forth, whose instances share some of the same characteristics. Note: for flexibility we use a String here but an implementation may use an enumeration with a limited list of valid values
Possible value for JM :"RES"
Y(JM)
N/A(PR)
descriptionstringDetailed description of the party accountN(JM)
N/A(PR)
namestringName of the accountN(JM,PR)
billStructureobjectThe structure of the bill for party accounts (billing or settlement).Y(JM)
N/A(PR)
billStructure.presentationMedia[]array of objectA list of bill presentation media ref or valuesY(JM)
N/A(PR)
billStructure.presentationMedia[].idstringUnique identifier of the bill presentation media. Ex E-Email,P-Paper Bill,N-Non-Paper based bills, E-Electronic BillsN(JM)
N/A(PR)
billStructure.presentationMedia[].namestringA short descriptive nameY(JM)
N/A(PR)
contact[]array of objectAn individual or an organization used as a contact point for a given account and accessed via some contact medium.Y(JM)
N/A(PR)
contact[].contactNamestringA displayable name for that contactY(JM)
N/A(PR)
contact[].contactTypestringType of contact (primary, secondary...)N(JM)
N/A(PR)
contact[].partyRoleTypestringIdentifies what kind of party role type is linked to the contact (a account manager...).N(JM)
N/A(PR)
contact[].contactMedium[]array of objectIndicates the contact medium that could be used to contact the party.Y(JM)
N/A(PR)
contact[].contactMedium[].mediumTypestringType of the contact medium, such as: email address, telephone number, postal address, BillingAddressY(JM)
N/A(PR)
contact[].contactMedium[].preferredbooleanIf true, indicates that is the preferred contact mediumN(JM)
N/A(PR)
contact[].contactMedium[].characteristicobjectAny additional characteristic(s) of this contact mediumY(JM)
N/A(PR)
contact[].contactMedium[].characteristic.citystringCityN(JM)
N/A(PR)
contact[].contactMedium[].characteristic.countrystringCountryN(JM)
N/A(PR)
contact[].contactMedium[].characteristic.postCodestringPostcodeN(JM)
N/A(PR)
contact[].contactMedium[].characteristic.stree1stringDescribes the street. For liberate, It will be the Address(Separated by comma).N(JM)
N/A(PR)
relatedParty[]array of objectRelatedParty reference. A related party defines party or party role linked to a specific entity.Y(JM,PR)
relatedParty[].idstringUnique identifier Id of the EntityRef.Y(JM,PR)
relatedParty[].namestringName of the EntityRef.N(JM)
N/A(PR)
relatedParty[].rolestringrole played by the related partyN(JM,PR)
relatedParty[].'@type'stringWhen sub-classing, this defines the sub-class entity nameN(JM)
N/A(PR)
relatedParty[].'@referredType'stringThe actual type of the target instance when needed for disambiguationN(PR)
N/A(JM)
'@type'stringWhen sub-classing, this defines the sub-class entity name. Type of this resource is: "BillingAccount"N(JM,PR)
characteristic[]array of objectDescribes a given characteristic of an object or entity through a name/value pair.Y(PR)
N/A(JM)
characteristic[].namestringName of the characteristic.Y(PR)
N/A(JM)
characteristic[].valueanyThe value of the characteristicY(PR)
N/A(JM)
characteristic
namevaluedescriptionrequired (mandatory-Y, optional-N, Not applicable- N/A)examples
characteristic[].name="locationId"stringLocation IdY(PR)
N/A(JM)
PR:
{ "value": "00921235400006", "name": "locationId"}
characteristic[].name="lob"stringLobY(PR)
N/A(JM)
PR:
{ "value": "FIXED", "name": "lob" }

Data Model Response

namevaluedescriptionrequired (mandatory-Y, optional-N, Not applicable- N/A)
accountNostringBilling account numberN(JM)
N/A(PR)
idstringUnique identifier of the accountN(PR)
N/A(JM)
'@type'stringWhen sub-classing, this defines the sub-class entity name. Type of this resource is: "BillingAccount"N(PR)
N/A(JM)
relatedParty[]array of objectRelatedParty reference. A related party defines party or party role linked to a specific entity.N(PR)
N/A(JM)
relatedParty[].idstringUnique identifier Id of the EntityRef.N(PR)
N/A(JM)
relatedParty[].namestringName of the EntityRef.N(PR)
N/A(JM)
relatedParty[].rolestringrole played by the related partyN(PR)
N/A(JM)
relatedParty[].'@referredType'stringThe actual type of the target instance when needed for disambiguationN(PR)
N/A(JM)
characteristic[]array of objectDescribes a given characteristic of an object or entity through a name/value pair.N(PR)
N/A(JM)
characteristic[].valueTypestringData type of the value of the characteristicN(PR)
N/A(JM)
characteristic[].valueanyThe value of the characteristicN(PR)
N/A(JM)
characteristic[].namestringName of the characteristic.N(PR)
N/A(JM)
characteristic
namevaluedescriptionrequired (mandatory-Y, optional-N, Not applicable- N/A)example
characteristic[].name="locationId"stringLocation IdN(PR)
N/A(JM)
PR:{ "valueType": "string", "value": "00917192000912", "name": "locationId" }

Key considerations

For PR market
  1. Location ID (Customer House ID) is always linked with Customer Billing Account in CSG. One Location can have only one billing account.

Reviews